#ifndef __MID_TIMER_H
#define __MID_TIMER_H

#include "ac780x_timer.h"

#define Timer_CLK         (APB_BUS_FREQ)
#define DelayS(n)   (Timer_CLK*n-1)
#define Delay1ms    (Timer_CLK/1000-1)
#define Delay10ms   (Timer_CLK/100-1)


void TIMER_Clock(void);

#endif